package com.frxuexi.park.intent

import com.frxuexi.lib_base.entity.ParkBeanItem
import com.frxuexi.lib_base.mvi.IUiIntent

sealed class ParkIntent:IUiIntent {

    data class getParksByType(val para:String,val type:String): ParkIntent()

    data class deletePark(val id:Int): ParkIntent()

    data class getParksByStatus(val status:String,val type:String): ParkIntent()

    data class getParksByArea(val area:String,val type: String): ParkIntent()

    data object getKeys: ParkIntent()

    data class addPark(val item: ParkBeanItem): ParkIntent()

    data class getParkById(val id:Int): ParkIntent()
    data class updatePark(val id:Int,val item: ParkBeanItem): ParkIntent()


}